<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
    <script src="js/jquery-3.3.1.js"></script>
    <script>
        function reload() {
            $('#img').attr('src','code?time='+new Date().getTime())
        }
    </script>
</head>
<body>
    <form action="verify">
        验证码：
        <input type="text" name="code">
        <img src="code" id="img" onclick="reload()"><br>
        <input type="submit" value="提交">
    </form>
</body>
</html>
